<?
if (!defined('baseinfo')) {
    exitdata();
}   

$feature='var featuresetdrop2=\'<option value="all">All Pages</option><option value="0">Everything</option>\';';
$feature.='var featuresetdrop={};';
$feature.='featuresetdrop.all="All Pages";';
$feature.='featuresetdrop[0]="Everything";';
if(count($data['feature']))
{
foreach($data['feature'] as $valuefeature)
{

$feature.='featuresetdrop['.$valuefeature['fid'].']="'.$valuefeature['name'].'";';
$feature.='featuresetdrop2+="<option value=\"'.$valuefeature['fid'].'\">'.ucfirst($valuefeature['name']).'</option>"; ';

}

}
?>
<script>

 <?echo $feature;?>
 $( document ).ready(function() {
 
 genbannerbybannerstatus();
 });
</script>
<script src="<?=baseinfo?>/js/vendor/jquery.iuploader-1.0.js"></script>
<script src="<?=baseinfo?>/js/vendor/jquery.Jcrop.min.js"></script>
<script src="<?=baseinfo?>/js/setting.js"></script>
<script src="<?=baseinfo?>/js/coreadd.js"></script>
<script src="<?=baseinfo?>/js/mediamanage.js"></script>

<link rel="stylesheet" href="<?=baseinfo?>/css/vendor/jcrop/jquery.Jcrop.min.css" type="text/css" />
<link rel="stylesheet" href="<?=baseinfo?>/css/theme1/coreadd.css" type="text/css" />


